#include "Bottle.h"

#include <sstream>

Bottle::Bottle(const unsigned int _uiCapacity, const string &_sLiquidName)
: Material()
, m_uiCapacity(_uiCapacity)
, m_sLiquidName(_sLiquidName)
{
	// on indique le nom de la bouteille dans le constructeur car il ne changera jamais
	stringstream sName;
	sName << "Bottle of " << this->m_sLiquidName << " (" << this->m_uiCapacity << "cl) ";

	this->setName(sName.str());
}